package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.PageParam;
import com.example.gw_back_end.domain.PageResult;
import com.example.gw_back_end.domain.entities.Order;

public interface OrderService extends IService<Order> {

    boolean addOrder(Integer gameId);

    boolean addOrderByCart();

    boolean deleteOrder(Integer orderId);

    boolean updateOrder(Order order);

    Order getOrderById(Integer orderId);

    PageResult<Order> getAllOrders(PageParam pageParam,String clientType);
}
